﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Cpu.aspx.cs" Inherits="WebApplication4.Cpu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="996"  border="0" cellspacing="0" cellpadding="0">
							<tr align="left" valign="top">
									  <td width="202" height="334">
												  <table width="202"  border="0" cellspacing="0" cellpadding="0">
													<tr>
													  <td align="left" valign="top" style="height: 216px">
														<div class="category"><img src="images/spacer.gif" alt="" width="30" height="19"/>Categories<a href="http://www.templatesfreelance.com/"><img src="images/spacer.gif" alt="" width="10" height="10" border="0"></a></div>
														<div class="linkmenu"><img src="images/spacer.gif" alt="" width="20" height="19"/><span class="red">&bull;</span>&nbsp;&nbsp;<a href = "Laptops.aspx" >LAPTOPS</a></div>
														<div class="linkmenu"><img src="images/spacer.gif" alt="" width="20" height="19"/><span class="red">&bull;</span>&nbsp;&nbsp;<a href = "Cpu.aspx" ><strong><span 
                                                                style="background-color: #FFFF00">CPUs</span></strong></a></div>
														<div class="linkmenu"><img src="images/spacer.gif" alt="" width="20" height="19"/><span class="red">&bull;</span>&nbsp;&nbsp;<a href = "Monitors.aspx" >MONITORS</a></div>
													</td>
													</tr>
													<tr>
													  <td height="26">
                                                          <img src="images/banner.jpg" alt="" width="197" border="0" 
                                                              style="height: 196px"></td>
													</tr>
													<tr>
													  <td align="center">&nbsp;</td>
													</tr>
												  </table>
									  </td>
									  <td width="20">&nbsp;</td>
									  <td width="774">
											 
											  
											  
													<table width="774"  border="0" cellspacing="0" cellpadding="0" 
                                                        style="height: 425px">
														  <tr>
																<td width="22">&nbsp;</td>
																<td width="729">WELOCME! TO FALCON HARDWARES<br />
                                                                </td>
																<td width="23">&nbsp;</td>
														  </tr>
														  <tr>
																<td height="479">&nbsp;</td>
																<td align="left" valign="top">
															
															<asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
                                                                                        DataSourceID="SqlDataSource1" 
                                                                                         Width="256px" 
                                                                                        
                                                                                        style="font-weight: 700; color: #000000; font-size: small; background-color: #FFFF99; margin-top: 0px;">
                                                                                        <Columns>
                                                                                            <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
                                                                                            <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                                                                                            <asp:BoundField DataField="Brand" HeaderText="Brand" SortExpression="Brand" />
                                                                                            <asp:BoundField DataField="Category" HeaderText="Category" 
                                                                                                SortExpression="Category" />
                                                                                            <asp:BoundField DataField="Price" HeaderText="Price" SortExpression="Price" />
                                                                                            <asp:ImageField DataImageUrlField="Image" HeaderText="Picture" >
                                                                                            </asp:ImageField>
                                                                                            <asp:TemplateField HeaderText="Select">
                                                                                            <ItemTemplate>
                                                                                               <asp:CheckBox ID="select1" runat="server" />
                                                                                            </ItemTemplate>
                                                                                         
                                                                                           </asp:TemplateField>
                                                                                                                                                                               
                                                                                                                                                                               
                                                                                            <asp:TemplateField HeaderText="Quantity">
                                                                                            <ItemTemplate>
                                                                                             <asp:TextBox runat="server" ID="txtQuantity1" Columns="5" ></asp:TextBox><br />  
                                                                                       
                                                                                            </ItemTemplate>
                                                                                            </asp:TemplateField>



                                                                                           



                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                    <asp:Button ID="Button2" runat="server" onclick="Button1_Click" 
                                                                                        Text="ADD TO CART" />
                                                                                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                                                                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                                                                                        
                                                                                        
                                                                                        
                                                                                        
                                                                        SelectCommand="SELECT Id, Name, Brand, Category, Price, Image FROM Products WHERE (Category = 'CPU') AND (Quantity &gt; 0)">
                                                                                    </asp:SqlDataSource>

															
																                    <asp:Label ID="Label3" runat="server"></asp:Label>

                                                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="Cart.aspx">VIEW CART</asp:HyperLink>
															
																&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

															
																					&nbsp;</td>
																<td>&nbsp;</td>
														  </tr>
													</table>
										</td>
							</tr>
						  </table>
				  
				</td>
			</tr>
		</table>
</body>
</html>

</asp:Content>
